package com.ming_za.odupdaterserver.core.annotation;

import jakarta.validation.Constraint;
import jakarta.validation.Payload;
import jakarta.validation.constraints.NotEmpty;

import java.lang.annotation.*;

@Documented
@Constraint(
        validatedBy = {ClientPathValidator.class}
)
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ClientPath {

    String message() default "非法路径";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
